package com.china08.yxyapi.repository.db;

import java.util.List;
import java.util.Set;

import org.springframework.data.jpa.repository.JpaRepository;

import com.china08.yxyapi.entity.db.res.YxyResSemester;

public interface YxyResSemesterRepository extends JpaRepository<YxyResSemester, String> {

    List<YxyResSemester> findByIdInAndStatusOrderByOrderNum(List<String> ids, Integer status);

    List<YxyResSemester> findByIdIn(Set<String> semesterIds);

}
